package me.sauce.folkpocket48.data.remote.bean.base;

/**
 * @author sauceWu
 * @since 2017/12/25 15:54
 */

public class BaseResult<T> {
    public static final int CODE_OK = 200;


    private int status;
    private String message;

    private T content;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

    public boolean isSuccess() {
        return status == CODE_OK;
    }
}
